package com.systop.asset.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 盘点单明细对象 inventory_check_detail
 * 
 * @author lsp
 * @date 2025-07-07
 */
public class InventoryCheckDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘点单明细ID */
    private Long inventoryCheckDetailId;

    /** 盘点单ID */
    // ( "盘点单ID")
    private Long checkId;

    /** 资产ID */
    // ( "资产ID")
    private Long assetId;


    private Long inventoryId;

    /** 实际位置ID */
    // ( "实际位置ID")
    private Long foundLocationId;

    /** 位置ID */
    // ( "位置ID")
    private Long locationId;

    /** 系统数量 */
    // ( "系统数量")
    private Long systemQuantity;

    /** 实际数量 */
    // ( "实际数量")
    private Long actualQuantity;

    /** 实际状态 0-闲置 1-使用中 2-维修中 3-已报废 4-已处置 */
    // ( "实际状态 0-闲置 1-使用中 2-维修中 3-已报废 4-已处置")
    private Integer status;

    /** 差异数量 */
    // ( "差异数量")
    private Long difference;

    /** 批次号 */
    // ( "批次号")
    private String batchNo;

    /** 差异说明 */
    // ( "差异说明")
    private String discrepancyNote;
    private Long deptId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(Long inventoryId) {
        this.inventoryId = inventoryId;
    }
    public void setInventoryCheckDetailId(Long inventoryCheckDetailId) 
    {
        this.inventoryCheckDetailId = inventoryCheckDetailId;
    }

    public Long getInventoryCheckDetailId() 
    {
        return inventoryCheckDetailId;
    }
    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }
    public void setAssetId(Long assetId) 
    {
        this.assetId = assetId;
    }

    public Long getAssetId() 
    {
        return assetId;
    }
    public void setFoundLocationId(Long foundLocationId) 
    {
        this.foundLocationId = foundLocationId;
    }

    public Long getFoundLocationId() 
    {
        return foundLocationId;
    }
    public void setLocationId(Long locationId) 
    {
        this.locationId = locationId;
    }

    public Long getLocationId() 
    {
        return locationId;
    }
    public void setSystemQuantity(Long systemQuantity) 
    {
        this.systemQuantity = systemQuantity;
    }

    public Long getSystemQuantity() 
    {
        return systemQuantity;
    }
    public void setActualQuantity(Long actualQuantity) 
    {
        this.actualQuantity = actualQuantity;
    }

    public Long getActualQuantity() 
    {
        return actualQuantity;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDifference(Long difference) 
    {
        this.difference = difference;
    }

    public Long getDifference() 
    {
        return difference;
    }
    public void setBatchNo(String batchNo) 
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo() 
    {
        return batchNo;
    }
    public void setDiscrepancyNote(String discrepancyNote) 
    {
        this.discrepancyNote = discrepancyNote;
    }

    public String getDiscrepancyNote() 
    {
        return discrepancyNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inventoryCheckDetailId", getInventoryCheckDetailId())
            .append("checkId", getCheckId())
            .append("assetId", getAssetId())
            .append("foundLocationId", getFoundLocationId())
            .append("locationId", getLocationId())
            .append("systemQuantity", getSystemQuantity())
            .append("actualQuantity", getActualQuantity())
            .append("status", getStatus())
            .append("difference", getDifference())
            .append("batchNo", getBatchNo())
            .append("discrepancyNote", getDiscrepancyNote())
            .toString();
    }
}
